/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;

using JDCloudSDK.Core.Annotation;

namespace JDCloudSDK.Cloudauth.Model
{

    /// <summary>
    ///  personalSpec
    /// </summary>
    public class PersonalSpec
    {

        ///<summary>
        /// 认证方式（0 银行卡四要素，1 银行卡三要素，2 姓名身份证二要素，3 人像三要素，4 手机号三要素）
        /// 0 提交姓名、身份证号、银行卡号、手机号，与在银行开户时预留的信息比对
        /// 1 提交姓名、身份证号、银行卡号，与在银行开户时预留的信息比对
        /// 2 提交姓名、身份证号，与公安身份证信息比对
        /// 3 提交姓名、银行卡号、人像图片，与在运营商开户留的信息比对
        /// 4 提交姓名、身份证号、手机号，与在运营商开户留的信息比对
        /// 
        ///Required:true
        ///</summary>
        [Required]
        public int CheckType{ get; set; }
        ///<summary>
        /// 个人认证要素信息
        ///Required:true
        ///</summary>
        [Required]
        public PersonalUser PersonalUser{ get; set; }
    }
}
